package com.ly.heart.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.heart.domain.MealRecordEntity;

/**
 * 报餐申请记录Service接口
 *
 * @author cxl
 * @date 2024-06-13
 */
public interface IMealRecordService extends IService<MealRecordEntity> {
    /**
     * 查询报餐申请记录
     *
     * @param id 报餐申请记录ID
     * @return 报餐申请记录
     */
    public MealRecordEntity selectMealRecordEntityById(String id);

    /**
     * 查询报餐申请记录列表
     *
     * @param mealRecordEntity 报餐申请记录
     * @return 报餐申请记录集合
     */
    public List<MealRecordEntity> selectMealRecordEntityList(MealRecordEntity mealRecordEntity);

    /**
     * 新增报餐申请记录
     *
     * @param mealRecordEntity 报餐申请记录
     * @return 结果
     */
    public int insertMealRecordEntity(MealRecordEntity mealRecordEntity);

    /**
     * 修改报餐申请记录
     *
     * @param mealRecordEntity 报餐申请记录
     * @return 结果
     */
    public int updateMealRecordEntity(MealRecordEntity mealRecordEntity);

    /**
     * 批量删除报餐申请记录
     *
     * @param ids 需要删除的报餐申请记录ID
     * @return 结果
     */
    public int deleteMealRecordEntityByIds(String[] ids);

    /**
     * 删除报餐申请记录信息
     *
     * @param id 报餐申请记录ID
     * @return 结果
     */
    public int deleteMealRecordEntityById(String id);
}
